﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Consolidate.Repository
{
    public class UnitOfWork
    {
        private AccountRepository _AccountRepo;

        public AccountRepository AccountRepo
        {
            get { return _AccountRepo??new AccountRepository(); }
        }

        private CaseRepository _CaseRepo;

        public CaseRepository CaseRepo
        {
            get { return _CaseRepo ?? new CaseRepository(); }
        }
    }
}
